
package hasthi.wsrf;

import hasthi.wsrf.faults.ResourceUnknownFault;

import org.w3.x2005.x08.addressing.EndpointReferenceType;
/**
 * This act as the store of WS-Resourses
 */ 
public interface WSResourceLocater {
   /** 
    *  Lookup the resource by give Epr
     * @param epr
     * @return
     */
    public WSResource findResource(EndpointReferenceType epr)throws ResourceUnknownFault;
    public void shutDownResource(EndpointReferenceType epr) throws ResourceUnknownFault;
    public void shutDownAllResources() throws ResourceUnknownFault;
}

